<div class="row">
    <div class="span12 marginbottom20">
        <form method="post" action="<?php echo $this->url_edit . @$seo->SEO_ID; ?>"  enctype="multipart/form-data">
            <div class="table_head"><h6><i class="icon-list-alt"></i>
			<?php
			if(@$seo->SEO_ID > 0)
			{
				echo 'Thông tin '.@$tresource->RES_NAME;
				
			}
			else {
				echo 'Thêm mới '.@$tresource->RES_NAME;
			}
			?></h6></div>
            <div class="subcont">
                <ul class="details span10">
					<?php if(@$seo->SEO_ID > 0) { ?>
						<li><?php echo $this->atheme->group_input2('seo[SEO_CODE]', 'SEO Code', '', 'required span6', @$seo->SEO_CODE, 'text', ' readonly'); ?></li>
					 <?php }
					 else { ?>
					 <li><?php echo $this->atheme->group_input2('seo[SEO_CODE]', 'SEO Code', '', 'required span6', @$seo->SEO_CODE, 'text', ''); ?></li>
					 <?php
					 }
					 ?>
					 <li><?php echo $this->atheme->group_input2('seo[SEO_METATITLE]', 'SEO Title', '', 'span6', @$seo->SEO_METATITLE, 'text', ''); ?></li>
					 <li><?php echo $this->atheme->group_input2('seo[SEO_H1]', 'SEO H1', '', 'span6', @$seo->SEO_H1, 'text', ''); ?></li>
					 <li><?php echo $this->atheme->group_input2('seo[SEO_KEYWORD]', 'SEO Keyword', '', 'span6', @$seo->SEO_KEYWORD, 'text', ''); ?></li>
					 <li><?php echo $this->atheme->group_input2('seo[SEO_DESCRIPTION]', 'SEO Description', '', 'span6', @$seo->SEO_DESCRIPTION, 'text', ''); ?></li>
                </ul>
                
                <ul class="span8">
                   <input type="submit" name="send" class="btn btn-primary" value="<?php
			if(@$seo->SEO_ID > 0)
			{
				echo 'Lưu';
				
			}
			else {
				echo 'Thêm mới';
			}
			?>"/>
			<a href="<?php echo $this->url_index;?>" class="btn">Trở ra</a>
                </ul>
                <br clear="both">

            </div>

        </form>
    </div>
</div>